package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IContractService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 合同定时任务类
 * @author zgp
 * @version V1.0
 * @date 2025-02-27 17:18
 */
@Slf4j
@Component
public class ContractJob {
    @Autowired
    private IContractService contractService;

    /**
     * 更新合同状态定时任务
     */
    public void updateContractStatusJob(){
        contractService.updateStatus();
    }
}
